package com.ranjiaqi.thread01;

/**
 * @ClassName Custom
 * @Description TODO
 * @Author hp
 * @Date 2021/6/29 9:14
 * @Version 1.0
 **/
public class Custom implements Runnable{
    private Resource r = Resource.getInstance();

    @Override
    public void run() {
        while (true){
            r.custom();
        }
    }
}
